package com.majia.map;

/**
 * Created by 马甲 on 2017/7/12/012.
 */
public class TestMyMap {

    public static void main(String[] args) {
        MyMap<String, String> myMap = new MyHashMap<String, String>();
        for(int i = 0; i < 1000; i++){
            myMap.put("key" + i, "value" + i);
        }
        System.out.println("================================获取=====================================");
        for (int i = 0; i < 1000; i++) {
            System.out.println("key:" + "key" + i + "      value:" + myMap.get("key"+i));
        }
    }
}
